package com.tubi.StringBuilder;

import java.util.Scanner;

public class 对称字符串 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入对产字符串");
        String st = sc.nextLine();
        StringBuilder sb = new StringBuilder(st);
        sb.reverse();
        String ss = sb.toString();
        if(st.equals(ss)){
            System.out.println("是");
        }else{
            System.out.println("不是");
        }
    }
}
